ef74ad
@@ -96,7 +96,6 @@
public class ServiceInterfaceStrategy implements ElementNameStrategy {
         // parameter types are returned in declaration order
         Class<?>[] types = method.getParameterTypes();
         if (types.length == 0) {
-            typeInfos.add(new TypeInfo(null, null));
             return typeInfos;
         }
         if (requestWrapper != null && requestWrapper.className() != null) {
@@ -140,7 +139,7 @@
public class ServiceInterfaceStrategy implements ElementNameStrategy {
      * Determines how the parameter object of the service method will be named
      * in xml. It will use either the RequestWrapper annotation of the method if
      * present or the WebParam method of the parameter.
-     * 
+     *
      * @param method
      */
     private MethodInfo analyzeMethod(Method method) {
